@charset "utf-8";

$browser-default-font-size: 20px !default;//变量的值可以根据自己需求定义
@function  pxTorem($px){
  @return ( $px / $browser-default-font-size ) * 1rem ;
}

html {
  font-size: 20px;
  font-family: Microsoft YaHei , \5FAE\8F6F\96C5\9ED1,sans-serif;
}
@media only screen and (min-width: 400px) {
  html {
    font-size: 21.33333333px !important;
  }
}
@media only screen and (min-width: 414px) {
  html {
    font-size: 22.08px !important;
  }
}
@media only screen and (min-width: 480px) {
  html {
    font-size: 25.6px !important;
  }
}

section{
  font-size: pxTorem(14px);
  margin: pxTorem(20px) pxTorem(25px);
  padding: pxTorem(13px);
}
